<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>编辑学生信息</title>
    <link rel="stylesheet" href="assets/css/amazeui.min.css">
    <script type="text/javascript" src="assets/js/jquery-3.3.1.min.js" > </script>
    <script type="text/javascript" src="assets/js/amazeui.js" > </script>

</head>
<body>
<h1></h1>
<div class="header">
    <div class="am-g">
        <h1 style="text-align: center">超级无敌帅气的编辑</h1>
    </div>
    <hr />
</div>
<div class="am-g">
    <div class="am-u-lg-6 am-u-md-8 am-u-sm-centered">

        <form method="post" action="index.php?action=student&func=edit" class="am-form">
            <label for="name">姓名:</label>
            <input type="text" name="name" id="name" value="{$student['Stud_name']}>">
            <br>
            <label for="stuid">学号:</label>
            <input type="number" readonly name="stuid" id="stuid" value="{$student['Stud_id']}>">
            <br>

            <label for="mobile">电话:</label>
            <input type="tel" name="mobile" id="mobile" value="{$student['Mobile']}>">
            <br>

            <label for="sex">性别:</label>


            <div class="am-radio">
                <label>

                    <input type="radio" name="sex" id="sex" value="男" <?php if($student['Stud_sex'] == "男") {   echo "checked"; } ?>   >
                    男
                </label>
            </div>

            <div class="am-radio">
                <label>
                    <input type="radio" name="sex" value="女" <?php if($student['Stud_sex'] == "女") {   echo "checked"; } ?> >
                    女
                </label>
            </div>

            <br>

            <label for="age">生日日期:</label>

            <input type="text" class="am-form-field" name="date" value="<?php echo $student['Birth_date']?>" placeholder="日历组件" data-am-datepicker readonly required />

            <br>
            <br />
            <div class="am-cf">

                <input type="submit" name="" value="修　　改" class="am-btn am-btn-primary am-btn-sm am-fl">
                <!--<input type="submit" name="" value="忘记密码 ^_^? " class="am-btn am-btn-default am-btn-sm am-fr">-->
            </div>
        </form>
        <hr>
        <p>© 2018 版权所有,盗版必究.</p>
    </div>
</div>

</body>
</html>
